package com.cuijun.spring5.aopAnnotation;

import org.springframework.stereotype.Component;

//被增强类
@Component
public class User {
    public void add(){
        int i = 10/0;//测试异常用
        System.out.println("add......");
    }
}
